<include file="inc:header" />
<div class="page" id='{$data.act}'>
	<?php
	$back_url = U("uccenter/index");
	$back_page = "#Uccenter";
	$back_epage = $_REQUEST['epage']=="" ? "#deal" : "#".$_REQUEST['epage'];
	?>
	<include file="inc:title" />

	<div class="content">

		<!-- 这里是页面内容区 -->

		<!--账户充值-->
		<style>
			.pay_detail{min-height:65px;}
		</style>
		<if condition="$data.c_number eq 3 ">
			<style>
				.Menubox ul li {width: 33.333333333333333%;}
				.Menubox ul li.hover {width: 33.33333333333333%;}
				.Menubox ul li:nth-child(3){ border-right:0px;}
			</style>
		</if>
		<if condition="$data.c_number eq 2 ">
			<style>
				.Menubox ul li {width: 50%;}
				.Menubox ul li.hover {width: 50%;}
				.Menubox ul li:nth-child(2){ border-right:0px;}
			</style>
		</if>
		<if condition="$data.c_number eq 1 ">
			<style>
				.Menubox ul li {width: 100%;}
				.Menubox ul li.hover {width: 100%;}
				.Menubox ul li:nth-child(1){ border-right:0px;}
			</style>
		</if>

			<div class="Menubox">
				<ul>
					<?php if($data.payment_list): ?><li id="one1" onclick="setInChrgTab('one',1,<?php echo ($data["c_number"]); ?>)" class="hover">线上支付</li><?php endif; ?>
					<?php if($data.below_payment): if($data["c_one"] == 0): ?><li id="one1" onclick="setInChrgTab('one',1,<?php echo ($data["c_number"]); ?>)" class="hover">线下支付</li>
					<?php else: ?>
					<li id="one2" onclick="setInChrgTab('one',2,<?php echo ($data["c_number"]); ?>)">线下支付</li><?php endif; endif; ?>
					<?php if($data.ips_bank_list): if($data["c_one"] == 0 && $data["c_two"] == 0): ?>
					    <li id="one1" onclick="setInChrgTab('one',1,<?php echo ($data["c_number"]); ?>)" class="hover">第三方托管</li>
					<?php else: ?>
						<?php if($data.c_one == 1 && $data.c_two == 1) : ?>
						<li id="one3" onclick="setInChrgTab('one',3,<?php echo ($data["c_number"]); ?>)">第三方托管</li>
						<?php else: ?>
						<li id="one2" onclick="setInChrgTab('one',2,<?php echo ($data["c_number"]); ?>)">第三方托管</li>
						<?php endif; ?>

					<?php endif; ?>
					<?php endif; ?>
				</ul>
			</div>

	<?php if($data.ips_bank_list): ?>
				<!-- <form action="{:U('collocation/index',array('DoDpTrade'))}" method="get" id="search_form" >  -->
				<input type="hidden" value="collocation" name="ctl">
				<input type="hidden" value="DoDpTrade" name="act">
				<input type="hidden" value="0" name="user_type">
				<input type="hidden" value="wap" name="from">
				<input type="hidden" value="1" name="is_ajax">
				<input type="hidden" value="{$data.user_id}" id="user_id" name="user_id">
						<if condition="$data.c_one eq 0 && $data.c_two eq 0">
							<div id="con_one_1" class="uc_incharge"><!--第三方支付-->
						<else/>
							<if condition="$data.c_one eq 1 && $data.c_two eq 1">
							<div id="con_one_3" class="uc_incharge" style=" display:none;"><!--第三方支付-->
							<else/>
							<div id="con_one_2" class="uc_incharge" style=" display:none;"><!--第三方支付-->
							 </if>
					    </if>
							<div class="figure">
								<input id="money3" name="pTrdAmt" class="" style="height:39px;" type="text" placeholder="请输入金额">
							</div>
							<div class="bank_list in_line">
								<ul>
									<li>
										<div class="pay_detail clearfix">
											<div class="inline_pay_img_show">
												<img src="" height="35px">
											</div>
											<div class="inline_pay_name">
												富友托管(在线充值)
											</div>
										</div>
										<input class="mt  dw" type="radio" value="0" name="pTrdBnkCode">
									</li>
								</ul>
							</div>
							<?php if($data["ips_bank_list"]):  ?>
							<div class="bank_list in_line">
								<ul>
									<?php foreach($$data["ips_bank_list"] as $key=>$item): ?>
									<li>
										<div class="pay_detail clearfix">
											<div class="inline_pay_img_show">
												<img src="{$item.img}"  height="35px">
											</div>
											<div class="inline_pay_name">
												{$item.name}({$item.sub_name})
											</div>
										</div>
										<input class="mt  dw"  type="radio" value="{$item.id}" name="pTrdBnkCode">
									</li>
									<?php endforeach; ?>
								</ul>
							</div>
							<?php else: ?>
							<div class="no_data_block">
								暂无数据
							</div>
							<?php endif; ?>

							<div class="w_b but_box_parent padding">
								<div class="w_b_f_1 but_box">
									<button id="other_incharge_done"  class="but_this">确认</button>
								</div>
							</div>
						</div>
	<?php endif; ?>
<include file="inc:footer" />